import HeadItem from "../../../components/headItem";
import {Outlet} from "react-router-dom"
export  default  function HomePage(){
    //底部的数据
    interface headItem {
        title: string,
        path: string
    }

    //首页
    const homeList: headItem[] = [
        {
            title: "综合",
            path: "/"
        },
        {
            title: "后端",
            path: "/hou"
        },
        {
            title: "前端",
            path: "/frontend"
        },
        {
            title: "Android",
            path: "/android"
        },
        {
            title: "IOS",
            path: "/ios"
        }
    ]
    return(
        <div>
            <HeadItem ListData={homeList}/>
            <Outlet/>
        </div>
    )
}
